Combining Active and Reactive Behavior in Concurrent Objects

نویسندگان

  • Einar Broch Johnsen
  • Olaf Owe
چکیده

A distributed system can be modeled by objects that run concurrently, each with its own processor, and communicate by remote method calls. However objects may have to wait for response to external calls; at best resulting in inefficient use of processor capacity, at worst resulting in deadlock. Furthermore, it is difficult to combine active and passive object behavior without defining explicit control loops. This paper proposes a solution to these problems by means of asynchronous method calls and conditional processor release points in program code. Although at the cost of additional internal non-determinism in the objects, this approach seems attractive in asynchronous or unreliable distributed environments. The concepts are illustrated by the small object-oriented language Creol and its operational semantics.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

JCoBox: Generalizing Active Objects to Concurrent Components

Concurrency in object-oriented languages is still waiting for a satisfactory solution. For many application areas, standard mechanisms like threads and locks are too low level and have shown to be error-prone and not modular enough. Lately the actor paradigm has regained attention as a possible solution to concurrency in OOLs. We propose JCoBox: a Java extension with an actor-like concurrency m...

متن کامل

Technology of Active Objects

In this paper we propose a multi-agent technology based on a timed concurrent constraint programming. The technology allows to use constraints to specify interactive, reactive, dynamic and intelligent behavior of agents. Practical value of the. technology is confirmed by its implementation i the agent-based language TAO-Kit for development of graphics applications. Some features of this languag...

متن کامل

BDL: A Language to Control the Behavior of Concurrent Objects

Combining concurrency and object orientation is still difficult. In an approach where methods are concurrency units, one of the main difficulties is the control of the behavior of objects. Our proposal is BDL a language allowing to express and to achieve this control. We propose a model where each object includes a so called "execution controller" programmed with BDL. This introduces a conceptu...

متن کامل

Developing Dynamic Security Policies

In this paper we define and provide a general construction for a class of policies we call dynamic policies. In most existing systems, policies are implemented and enforced by changing the operational parameters of shared system objects. These policies do not account for the behavior of the entire system, and enforcing these policies can have unexpected interactive or concurrent behavior. We pr...

متن کامل

Implementing Autonomous Reactive Agents by Using Active Objects

This paper briefly outlines the main characteristics of an ongoing research aimed at developing a support library for implementing systems based on autonomous agents. The library is built upon active objects, whose concurrent behavior is disciplined −for each controlled object− by a corresponding controller, according to the dictate of aspect-oriented programming. So far, we implemented a preli...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003